package com.xy.p2p.dao;

import java.util.List;
import java.util.Map;
import com.xy.core.dao.BaseDao;
import com.xy.common.page.Pagination;
import com.xy.p2p.model.Tmember;
import com.xy.p2p.model.Tmemberassetaccount;

public abstract interface TmemberassetaccountDao extends BaseDao<Tmemberassetaccount>
{
   public abstract List<Tmemberassetaccount> getTmemberassetaccount(Map<String, Object> map);
	public abstract Pagination getTmemberassetaccountByPage(Map<String, Object> map,
			int pageNo, int pageSize);   
	//获取理财资产(投资的计息金额减去已经收回的本金)
	public double getTotalAsset(Tmember tmember);
	//获取借款负债(融资金额减去投资人的本金收入)
	public double getTotalBorrow(Tmember tmember);
	//获取投资总收入(余额贷除外)
	public double getTotalIncome(Tmember tmember);
}